package com.ruoyi.project.modules.errorCodeCategory.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 错误码分类对象 t_error_code_category
 * 
 * @author smallrain
 * @date 2022-04-04
 */
public class ErrorCodeCategory extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 错误码分类ID */
    private Long errorCodeCategoryId;

    /** 父级错误码分类ID */
    @Excel(name = "父级错误码分类ID")
    private Long parenterrorCodeCategoryId;

    /** 错误码分类编码 */
    @Excel(name = "错误码分类编码")
    private String errorCodeCategoryCode;

    /** 错误码分类名称 */
    @Excel(name = "错误码分类名称")
    private String errorCodeCategoryName;

    public void setErrorCodeCategoryId(Long errorCodeCategoryId) 
    {
        this.errorCodeCategoryId = errorCodeCategoryId;
    }

    public Long getErrorCodeCategoryId() 
    {
        return errorCodeCategoryId;
    }
    public void setParenterrorCodeCategoryId(Long parenterrorCodeCategoryId) 
    {
        this.parenterrorCodeCategoryId = parenterrorCodeCategoryId;
    }

    public Long getParenterrorCodeCategoryId() 
    {
        return parenterrorCodeCategoryId;
    }
    public void setErrorCodeCategoryCode(String errorCodeCategoryCode) 
    {
        this.errorCodeCategoryCode = errorCodeCategoryCode;
    }

    public String getErrorCodeCategoryCode() 
    {
        return errorCodeCategoryCode;
    }
    public void setErrorCodeCategoryName(String errorCodeCategoryName) 
    {
        this.errorCodeCategoryName = errorCodeCategoryName;
    }

    public String getErrorCodeCategoryName() 
    {
        return errorCodeCategoryName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("errorCodeCategoryId", getErrorCodeCategoryId())
            .append("parenterrorCodeCategoryId", getParenterrorCodeCategoryId())
            .append("errorCodeCategoryCode", getErrorCodeCategoryCode())
            .append("errorCodeCategoryName", getErrorCodeCategoryName())
            .toString();
    }
}
